<?php

/**
 * Implements hook_rules_action_info().
 */
function shusy_store_order_extension_rules_action_info() {
  return [
    'shusy_store_order_extension_rules_action_load' => [
      'label' => t('通过订单获取扩展数据对象'),
      'parameter' => [
        'order' => [
          'type' => 'shusy_store_order',
          'label' => t('Order'),
        ],
      ],
      'provides' => [
        'extension' => [
          'type' => 'shusy_store_order_extension',
          'label' => t('Order Extension'),
        ],
      ],
      'group' => t('shusy_store_order_extension'),
    ],
  ];
}
